home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-09-07 | 856 b | 42 lines |
- #
- # MakeFile for sysinfo.library/uptime
- #
- # This file is public domain.
- #
- # Author: Petri Nordlund <petrin@mits.mdata.fi>
- #
- # $Id: MF.compile 1.1 1995/05/28 00:03:06 petrin Exp petrin $
- #
-
- # To compile uptime with multiuser.library support, you must have
- # installed the Multiuser package, specifically the include-files.
- # You'll also need GCC:lib/libmultiuser.a which is a small stub-library,
- # see GCC:geninline/ for information how to generate it.
-
- # Uncomment to include multiuser-support
- #MULTIUSER = -DUSE_MULTIUSER -lmultiuser
-
- CFLAGS = $(BUILD_GCC_OPT)
-
-
- SHELL = USR:BIN/sh
-
- # Source files
- SRCS = uptime.c
-
- # Object files
- OBJS = $(SRCS:.c=.o)
-
- PROG = uptime
-
- all : $(PROG)
-
- $(PROG) : uptime.o
- gcc $(CFLAGS) -o $(PROG) $^ -lamiga -lauto -lsysinfo $(MULTIUSER)
-
- uptime.o : uptime.c
- gcc $(CFLAGS) -c uptime.c
-
- clean:
- -delete uptime uptime.o
-